package tgc.edu.fhh.entity;


import javax.persistence.Entity;
import javax.persistence.ManyToOne;

import com.fasterxml.jackson.annotation.JsonIgnore;

@Entity
public class Student extends SysUser {
	private String stuNo;
	@JsonIgnore
	@ManyToOne
	private TbClass tbclass;
	private String filename;
	private String uuid;

	public String getStuNo() {
		return stuNo;
	}

	public void setStuNo(String stuNo) {
		this.stuNo = stuNo;
	}

	public TbClass getTbclass() {
		return tbclass;
	}

	public void setTbclass(TbClass tbclass) {
		this.tbclass = tbclass;
	}

	public Student(String usename, String password, String name, String sex, String stuNo, TbClass tbclass) {
		super(usename, password, name, sex);
		this.stuNo = stuNo;
		this.tbclass = tbclass;
	}

	public Student() {
		super();
	}

	public Student(String usename, String password, String name, String sex) {
		super(usename, password, name, sex);
	}

	public String getFilename() {
		return filename;
	}

	public void setFilename(String filename) {
		this.filename = filename;
	}

	public String getUuid() {
		return uuid;
	}

	public void setUuid(String uuid) {
		this.uuid = uuid;
	}
	

}
